<h1 class="page-header">酒庄信息</h1>
<form class="form-horizontal" name="form" role="form" ng-controller="wineryFormCtrl">
    <div class="form-group">
        <div class="col-md-6">
            <label class="control-label col-md-2">酒庄名称</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="wineryName" ng-model="winery.name"/>
            </div>
        </div>

        <div class="col-md-6">
            <label class="control-label col-md-2">所属国家</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="wineryCountry" ng-model="winery.country" />
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-6">
            <label class="control-label col-md-2">酒庄简介</label>
            <div class="col-md-6">
                <textarea rows="10" class="form-control" name="wineryIntroduction" ng-model="winery.introduction" />
            </div>
        </div>

        <div class="col-md-6">
            <label class="control-label col-md-2">酒庄介绍</label>
            <div class="col-md-6">
                <textarea rows="10" class="form-control" name="wineryDescription" ng-model="winery.description" />
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-offset-5 col-md-12">
            <a class="btn btn-success" ng-click="save();" ng-disabled="form.$invalid">保存</a>
            <a class="btn btn-primary" ui-sref="index.wineryMng">关闭</a>
        </div>
    </div>
</form>